Skip to content

Instantly share code, notes, and snippets.

@ashwch
ashwch / Alacritty + tmux.md
Last active July 4, 2026 16:45
Alacritty + tmux: Ghostty-like keyboard shortcuts (Cmd+T, Cmd+D, Cmd+1-9, etc.)

Alacritty + tmux: Ghostty-like Keyboard Shortcuts

This configuration gives you Ghostty-style keyboard shortcuts (Cmd+D, Cmd+T, etc.) in Alacritty + tmux, providing a consistent terminal experience across different setups.

Why Use This?

  • Consistent shortcuts: Same muscle memory whether using Ghostty, iTerm2, or Alacritty+tmux
  • tmux benefits: Session persistence, remote pairing, detach/reattach, scriptable layouts
  • Works everywhere: tmux runs on any server, so your workflow travels with you
@tomlankhorst
tomlankhorst / docker-swarm-gpu.md
Last active July 4, 2026 16:41
Instructions for Docker swarm with GPUs
@jinjier
jinjier / javdb-top250.md
Last active July 4, 2026 16:41
JavDB top 250 movies list. [Updated on 2026/01]
@Rodbourn
Rodbourn / gist:2a00499f8b6586f08403db193124067e
Created July 2, 2026 21:25
Fable departure skill creation
You are a distinguished fellow on this project who is retiring. Your final task: build a
complete skill library under `.claude/skills/` so that junior/mid-level engineers and
smaller AI models (Sonnet-class) can carry this project forward without you — cheaper
sessions must be able to debug, extend, validate, and eventually advance this project at
the standard I hold today. Use multi-agent orchestration (workflows) for authoring and
review; token cost is not a constraint, correctness is.
## Phase 1 — Discover before you write (no skill authoring yet)
Investigate the repo like an incoming principal engineer: README/manifest/contributor
docs, the build system, the test suite and how it's actually run, CI config, docs
@ph33nx
ph33nx / audio-conversion-ffmpeg-opus-webm.md
Last active July 4, 2026 16:38
FFmpeg Audio Conversion Guide: Convert MP3 to high-quality Opus in a WebM container for efficient audio streaming and compression on Windows, Linux, and macOS

Audio File Conversion with FFmpeg for Audio Streaming

Author: ph33nx

This guide provides detailed instructions for converting your audio files (e.g., MP3) into a high-quality, compressed Opus format encapsulated in a WebM container using FFmpeg. It is designed for developers, system administrators, and audio engineers looking for efficient audio streaming, optimal media conversion, and reliable audio compression solutions across multiple operating systems.

Table of Contents

@hellerbarde
hellerbarde / latency.markdown
Created May 31, 2012 13:16 — forked from jboner/latency.txt
Latency numbers every programmer should know

Latency numbers every programmer should know

L1 cache reference ......................... 0.5 ns
Branch mispredict ............................ 5 ns
L2 cache reference ........................... 7 ns
Mutex lock/unlock ........................... 25 ns
Main memory reference ...................... 100 ns             
Compress 1K bytes with Zippy ............. 3,000 ns  =   3 µs
Send 2K bytes over 1 Gbps network ....... 20,000 ns  =  20 µs
SSD random read ........................ 150,000 ns  = 150 µs

Read 1 MB sequentially from memory ..... 250,000 ns = 250 µs

@avshatalov48
avshatalov48 / Git.md
Last active July 4, 2026 16:34
Основные "повседневные" команды GIT

Основные "повседневные" команды GIT

  • git status
  • git add .
  • git commit -m "GeekBrains > Yii2 > Lesson 4 > Complete"
  • git push
  • git pull
  • git log
  • git config --list
@alpsware
alpsware / docker-compose.yml
Last active July 4, 2026 16:33
Rustdesk Websockets Docker Compose Configuration with Traefik
# SUMMARY:
# This Docker Compose file sets up a Rustdesk self-hosted server with two components:
# 1. Signaling server (hbbs)
# 2. Relay server (hbbr)
#
# Key Features:
# - Integrated with Traefik for HTTPS routing and automatic SSL via Let's Encrypt.
# - Uses external 'traefik' network for reverse proxy.
# - WebSocket connections work out of the box (no manual server file edits needed).
@portapipe
portapipe / countries.json
Last active July 4, 2026 16:31
Json containing countries name, codes, currency and base64 flags
[{
"id": 1,
"name": "Afghanistan",
"isoAlpha2": "AF",
"isoAlpha3": "AFG",
"isoNumeric": 4,
"currency": {
"code": "AFN",
"name": "Afghani",
"symbol": "؋"